package com.anyou.mall.goo.mapper;

import java.util.List;
import com.anyou.mall.goo.domain.JfDrawRecord;
import org.apache.ibatis.annotations.Param;

/**
 * 积分抽奖中奖记录Mapper接口
 *
 * @author clx
 * @date 2023-10-24
 */
public interface JfDrawRecordMapper
{
    /**
     * 查询积分抽奖中奖记录
     *
     * @param drawRecordId 积分抽奖中奖记录主键
     * @return 积分抽奖中奖记录
     */
    public JfDrawRecord selectJfDrawRecordByDrawRecordId(Long drawRecordId);

    /**
     * 查询积分抽奖中奖记录列表
     *
     * @param jfDrawRecord 积分抽奖中奖记录
     * @return 积分抽奖中奖记录集合
     */
    public List<JfDrawRecord> selectJfDrawRecordList(@Param("jfDrawRecord") JfDrawRecord jfDrawRecord);

    /**
     * 新增积分抽奖中奖记录
     *
     * @param jfDrawRecord 积分抽奖中奖记录
     * @return 结果
     */
    public int insertJfDrawRecord(JfDrawRecord jfDrawRecord);

    /**
     * 修改积分抽奖中奖记录
     *
     * @param jfDrawRecord 积分抽奖中奖记录
     * @return 结果
     */
    public int updateJfDrawRecord(JfDrawRecord jfDrawRecord);

    /**
     * 删除积分抽奖中奖记录
     *
     * @param drawRecordId 积分抽奖中奖记录主键
     * @return 结果
     */
    public int deleteJfDrawRecordByDrawRecordId(Long drawRecordId);

    /**
     * 批量删除积分抽奖中奖记录
     *
     * @param drawRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJfDrawRecordByDrawRecordIds(Long[] drawRecordIds);
}
